package com.cysyz.mylib.utils.strings.wraper.impl.html;


import com.cysyz.mylib.utils.strings.wraper.StringWrapper;

public class JsonWrapperHTMLScript implements StringWrapper {
	
	public JsonWrapperHTMLScript() {}

	@Override
	public String wrap(String json) {
		StringBuilder result = new StringBuilder();
		result.append("<script type=\"text/javascript\">");
		result.append(json);
		result.append("</script>");
		return result.toString();
	}
}
